import React from 'react'
import Login from '../components/xz-mine/Login'
import UserInfo from '../components/xz-mine/UserInfo'
import '../components/xz-mine/css/user.less'

export default function Mine() {

    let token = window.localStorage.getItem('token')
    if(token) 
    return <UserInfo></UserInfo>
    return <Login></Login>
}
